// Created: 09/01/2025, ChangJiang Ru
public class ObjectTest {
    public static void main(String[] args)
    {
    /*
    SubObject sub1 = new SubObject();
    sub1.test();
     */
        new Object(){
            public void test()
            {
                System.out.println("GreatFree");
            };
        }.test();
    }
}

class SubObject extends Object
{
    public void test()
    {
        System.out.println("GreatFree");
    }
}